<?php

namespace app\xf\model;

use think\Model;

class DataConfigModel extends Model
{
    //
    protected $table = 'xf_dataconfig';

    public function setConfigAttr($value)
    {
        return json_encode($value);
    }

    public function getConfigAttr($value)
    {
        return json_decode($value);
    }

}
